<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::QpMcSimplexDecomp&lt; Matrix &gt;::Example Struct Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">QpMcSimplexDecomp</a></li><li class="navelem"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html">Example</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_qp_mc_simplex_decomp_1_1_example-members.html">List of all members</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::QpMcSimplexDecomp&lt; Matrix &gt;::Example Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>data structure describing one training example  
 <a href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qp_mc_simplex_decomp_8h_source.html">shark/Algorithms/QP/QpMcSimplexDecomp.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aab58acc2d5b87c0fe69188397f97a769" id="r_aab58acc2d5b87c0fe69188397f97a769"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#aab58acc2d5b87c0fe69188397f97a769">index</a></td></tr>
<tr class="memdesc:aab58acc2d5b87c0fe69188397f97a769"><td class="mdescLeft">&#160;</td><td class="mdescRight">example index in the dataset, not the example vector!  <br /></td></tr>
<tr class="separator:aab58acc2d5b87c0fe69188397f97a769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a289bed9316066dd53203df71f2bfb767" id="r_a289bed9316066dd53203df71f2bfb767"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#a289bed9316066dd53203df71f2bfb767">y</a></td></tr>
<tr class="memdesc:a289bed9316066dd53203df71f2bfb767"><td class="mdescLeft">&#160;</td><td class="mdescRight">label of this example  <br /></td></tr>
<tr class="separator:a289bed9316066dd53203df71f2bfb767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed59b679c1979d9f8ed433f5f56716ab" id="r_aed59b679c1979d9f8ed433f5f56716ab"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#aed59b679c1979d9f8ed433f5f56716ab">active</a></td></tr>
<tr class="memdesc:aed59b679c1979d9f8ed433f5f56716ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of active variables  <br /></td></tr>
<tr class="separator:aed59b679c1979d9f8ed433f5f56716ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8e200b285451dd8bfb99672e23984b4" id="r_ae8e200b285451dd8bfb99672e23984b4"><td class="memItemLeft" align="right" valign="top">std::size_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#ae8e200b285451dd8bfb99672e23984b4">var</a></td></tr>
<tr class="memdesc:ae8e200b285451dd8bfb99672e23984b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of all m_cardP variables, in order of the p-index  <br /></td></tr>
<tr class="separator:ae8e200b285451dd8bfb99672e23984b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68c607fe9a14561a3d595ca0a5e2d23d" id="r_a68c607fe9a14561a3d595ca0a5e2d23d"><td class="memItemLeft" align="right" valign="top">std::size_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#a68c607fe9a14561a3d595ca0a5e2d23d">avar</a></td></tr>
<tr class="memdesc:a68c607fe9a14561a3d595ca0a5e2d23d"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of active variables  <br /></td></tr>
<tr class="separator:a68c607fe9a14561a3d595ca0a5e2d23d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5aea03b47634b4edeaf71099548433c" id="r_ac5aea03b47634b4edeaf71099548433c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#ac5aea03b47634b4edeaf71099548433c">varsum</a></td></tr>
<tr class="memdesc:ac5aea03b47634b4edeaf71099548433c"><td class="mdescLeft">&#160;</td><td class="mdescRight">total sum of all variables of this example  <br /></td></tr>
<tr class="separator:ac5aea03b47634b4edeaf71099548433c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a695f9e848d59f0ada274e8c18e283678" id="r_a695f9e848d59f0ada274e8c18e283678"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_qp_mc_simplex_decomp_1_1_example.html#a695f9e848d59f0ada274e8c18e283678">diagonal</a></td></tr>
<tr class="memdesc:a695f9e848d59f0ada274e8c18e283678"><td class="mdescLeft">&#160;</td><td class="mdescRight">diagonal entry of the kernel matrix k(x,x);  <br /></td></tr>
<tr class="separator:a695f9e848d59f0ada274e8c18e283678"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class Matrix&gt;<br />
struct shark::QpMcSimplexDecomp&lt; Matrix &gt;::Example</div><p>data structure describing one training example </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00506">506</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="aed59b679c1979d9f8ed433f5f56716ab" name="aed59b679c1979d9f8ed433f5f56716ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed59b679c1979d9f8ed433f5f56716ab">&#9670;&#160;</a></span>active</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::active</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of active variables </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00513">513</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a1d59e69be46dee9ca569fe8f4a4116d3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::deactivateVariable()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#abed9aa58f4c24140ba445737987a6f98">shark::QpMcSimplexDecomp&lt; Matrix &gt;::getSimplexMVP()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a2407864545443c298157fb489c3038f3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::gradientUpdate()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a190272c5d5f87ebd96e5efe34b7d5614">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainSimplex()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#aca9f261b3af439c641c5f198ab31edc1">shark::QpMcSimplexDecomp&lt; Matrix &gt;::shrink()</a>, and <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a5e41ddc4c2f813b5c50dd3e5df4f2697">shark::QpMcSimplexDecomp&lt; Matrix &gt;::unshrink()</a>.</p>

</div>
</div>
<a id="a68c607fe9a14561a3d595ca0a5e2d23d" name="a68c607fe9a14561a3d595ca0a5e2d23d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68c607fe9a14561a3d595ca0a5e2d23d">&#9670;&#160;</a></span>avar</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t* <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::avar</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of active variables </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00517">517</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a1d59e69be46dee9ca569fe8f4a4116d3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::deactivateVariable()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#abed9aa58f4c24140ba445737987a6f98">shark::QpMcSimplexDecomp&lt; Matrix &gt;::getSimplexMVP()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a2407864545443c298157fb489c3038f3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::gradientUpdate()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a190272c5d5f87ebd96e5efe34b7d5614">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainSimplex()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#aca9f261b3af439c641c5f198ab31edc1">shark::QpMcSimplexDecomp&lt; Matrix &gt;::shrink()</a>, and <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a5e41ddc4c2f813b5c50dd3e5df4f2697">shark::QpMcSimplexDecomp&lt; Matrix &gt;::unshrink()</a>.</p>

</div>
</div>
<a id="a695f9e848d59f0ada274e8c18e283678" name="a695f9e848d59f0ada274e8c18e283678"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a695f9e848d59f0ada274e8c18e283678">&#9670;&#160;</a></span>diagonal</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::diagonal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>diagonal entry of the kernel matrix k(x,x); </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00521">521</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

</div>
</div>
<a id="aab58acc2d5b87c0fe69188397f97a769" name="aab58acc2d5b87c0fe69188397f97a769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab58acc2d5b87c0fe69188397f97a769">&#9670;&#160;</a></span>index</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::index</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>example index in the dataset, not the example vector! </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00509">509</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

</div>
</div>
<a id="ae8e200b285451dd8bfb99672e23984b4" name="ae8e200b285451dd8bfb99672e23984b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8e200b285451dd8bfb99672e23984b4">&#9670;&#160;</a></span>var</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t* <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::var</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of all m_cardP variables, in order of the p-index </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00515">515</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a1d59e69be46dee9ca569fe8f4a4116d3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::deactivateVariable()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a2407864545443c298157fb489c3038f3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::gradientUpdate()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a3689cea409b991cc35f58e8cf23ddc00">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainBox()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a190272c5d5f87ebd96e5efe34b7d5614">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainSimplex()</a>, and <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a5e41ddc4c2f813b5c50dd3e5df4f2697">shark::QpMcSimplexDecomp&lt; Matrix &gt;::unshrink()</a>.</p>

</div>
</div>
<a id="ac5aea03b47634b4edeaf71099548433c" name="ac5aea03b47634b4edeaf71099548433c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5aea03b47634b4edeaf71099548433c">&#9670;&#160;</a></span>varsum</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::varsum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>total sum of all variables of this example </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00519">519</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a62b40d1335f1aa500d790cf6b5e0d735">shark::QpMcSimplexDecomp&lt; Matrix &gt;::checkKKT()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a3689cea409b991cc35f58e8cf23ddc00">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainBox()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a190272c5d5f87ebd96e5efe34b7d5614">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainSimplex()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a8304e5a2955859682a416bc28c3d743f">shark::QpMcSimplexDecomp&lt; Matrix &gt;::selectWorkingSet()</a>, and <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#aca9f261b3af439c641c5f198ab31edc1">shark::QpMcSimplexDecomp&lt; Matrix &gt;::shrink()</a>.</p>

</div>
</div>
<a id="a289bed9316066dd53203df71f2bfb767" name="a289bed9316066dd53203df71f2bfb767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a289bed9316066dd53203df71f2bfb767">&#9670;&#160;</a></span>y</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Matrix &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html">shark::QpMcSimplexDecomp</a>&lt; Matrix &gt;::Example::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>label of this example </p>

<p class="definition">Definition at line <a class="el" href="_qp_mc_simplex_decomp_8h_source.html#l00511">511</a> of file <a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a2407864545443c298157fb489c3038f3">shark::QpMcSimplexDecomp&lt; Matrix &gt;::gradientUpdate()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a3689cea409b991cc35f58e8cf23ddc00">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainBox()</a>, <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a190272c5d5f87ebd96e5efe34b7d5614">shark::QpMcSimplexDecomp&lt; Matrix &gt;::maxGainSimplex()</a>, and <a class="el" href="classshark_1_1_qp_mc_simplex_decomp.html#a5e41ddc4c2f813b5c50dd3e5df4f2697">shark::QpMcSimplexDecomp&lt; Matrix &gt;::unshrink()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Algorithms/QP/<a class="el" href="_qp_mc_simplex_decomp_8h_source.html">QpMcSimplexDecomp.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
